package ejercicio5;

public class Cliente extends Thread{
	
	private Monitor monitor;

	public Cliente(Monitor monitor) {
		super();
		this.monitor = monitor;
	}
	
	public void run(){
		
		while(true){
			this.suspend();
			monitor.cliente(this);
		}
		
	}

}
